package cn.fsd.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Task {
    private String task_id;

    private String order_id;

    private String station_id;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") //处理响应
    @DateTimeFormat(pattern = "yyyy-MM-dd") //处理请求
    private Date task_genDate;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") //处理响应
    @DateTimeFormat(pattern = "yyyy-MM-dd") //处理请求
    private Date task_finDate;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") //处理响应
    @DateTimeFormat(pattern = "yyyy-MM-dd") //处理请求
    private Date task_deliveryDate;

    private String task_type;

    private String task_status;

    private Integer count_inTask;

    private String courier_id;

}